<template>
  <div>
    <div class="md-5">
      <Header></Header>
    </div>

    <div class="container context">
      <router-view :key="this.$route.fullPath"/>
    </div>

    <div>
      <Footer></Footer>
    </div>
  </div>
</template>

<script>
// 1.引入头部组件
import Header from "@/components/Layout/Header"
import Footer from "@/components/Layout/Footer"

export default {
  name: "APP",

  // 2.声明引入的组件
  components: { Header, Footer },
}
</script>

<style scoped>
.container {
  min-height: 500px;
}
</style>
